package com.jz.community.moduleshopping.confirmOrder.bean;

import com.jz.community.basecomm.bean.baseCommInfo.LinksInfo;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Tony.Fan on 2018/5/2 18:12
 */
public class ShopSelfAddressInfo implements Serializable {

    /**
     * _embedded : {"content":[{"id":2,"name":null,"contact_tel":null,"address":"陕西省西安市高新区","distance":null,"links":{"self":{"href":"http://microservice.shoppingyizhan.com/shp/shopdistancemessageview/2"}}},{"id":42,"name":"frrr","contact_tel":"111111111111","address":"陕西省西安市雁塔区丈八沟街道唐兴路6号唐兴·数码国际","distance":1.50714782E7,"links":{"self":{"href":"http://microservice.shoppingyizhan.com/shp/shopdistancemessageview/42"}}}]}
     */
    private EmbeddedBean _embedded;

    public EmbeddedBean get_embedded() {
        return _embedded;
    }

    public void set_embedded(EmbeddedBean _embedded) {
        this._embedded = _embedded;
    }

    public static class EmbeddedBean implements Serializable {
        private List<ContentBean> content;

        public List<ContentBean> getContent() {
            return content;
        }

        public void setContent(List<ContentBean> content) {
            this.content = content;
        }

        public static class ContentBean extends LinksInfo implements Serializable{
            /**
             * id : 2
             * name : null
             * contact_tel : null
             * address : 陕西省西安市高新区
             * distance : null
             * links : {"self":{"href":"http://microservice.shoppingyizhan.com/shp/shopdistancemessageview/2"}}
             */

            private String id;
            private String name;
            private String contact_tel;
            private String address;
            private String distance;
            private String longitude;
            private String latitude;
            private String cityCode;
            private boolean isDistributable;
            private boolean isChoose = false;

            public String getCityCode() {
                return cityCode;
            }

            public void setCityCode(String cityCode) {
                this.cityCode = cityCode;
            }

            public boolean isDistributable() {
                return isDistributable;
            }

            public void setDistributable(boolean distributable) {
                isDistributable = distributable;
            }

            public String getLongitude() {
                return longitude;
            }

            public void setLongitude(String longitude) {
                this.longitude = longitude;
            }

            public String getLatitude() {
                return latitude;
            }

            public void setLatitude(String latitude) {
                this.latitude = latitude;
            }

            public boolean isChoose() {
                return isChoose;
            }

            public void setChoose(boolean choose) {
                isChoose = choose;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getContact_tel() {
                return contact_tel;
            }

            public void setContact_tel(String contact_tel) {
                this.contact_tel = contact_tel;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getDistance() {
                return distance;
            }

            public void setDistance(String distance) {
                this.distance = distance;
            }

        }
    }
}
